package com.southminority.ethnic.service.language;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.southminority.ethnic.controller.language.vo.LanguagePageResq;
import com.southminority.ethnic.pojo.LanguageNation;
import com.southminority.ethnic.pojo.MinorityLanguageCulture;

import java.util.List;

/**
* @author ASHTR
* @description 的数据库操作Service
* @createDate 2025-08-29 00:33:49
*/
public interface LanguageNationService extends IService<LanguageNation> {
    //增加
    Boolean addNation(LanguageNation languageNation);
    //删除
    Boolean deleteNationById(Integer id);
    //更改
    Boolean updateNationById(Integer id,String NationName);
    //查询
    LanguageNation selectOne(Integer id);
    LanguageNation selectOneByName(String name);
    List<LanguageNation> selectAll();
    Page<LanguageNation> selectOnesPageKey(Integer pageNum, Integer pageSize, String key);
    List<LanguageNation> selectRootAll();
}
